package com.cl.auth.stateless;

import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.cl.entity.UUser;

public class StatelessUser extends UUser {

	private static final long serialVersionUID = 1L;

    private String accessToken;

	private String grantMenu;

    private List<String> roles;

    private Set<String> permissions = new HashSet<String>();

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }
    
	public String getGrantMenu() {
		return grantMenu;
	}

	public void setGrantMenu(String grantMenu) {
		this.grantMenu = grantMenu;
	}

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }
    
    public Set<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(Set<String> permissions) {
        this.permissions = permissions;
    }
    
}